EventMapper
class EventMapper
Content copied to clipboard
EventMapper is responsible for mapping events carried by EventResponseFrame to concrete events representations.
Constructors
Types
Functions
deserialize
Link copied to clipboard
Deserializes EventResponseFrame into concrete event type representation using serializer returned by EventSerializers.getByEventName.
fun <T : Event> deserialize(eventFrame: EventResponseFrame, eventSerializer: KSerializer<T>): T
Content copied to clipboard